<?php

require_once(dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . "TestHelper.php");

if (!defined("PHPUnit_MAIN_METHOD")) {
	define("PHPUnit_MAIN_METHOD","models_AllTests:main");
}

require_once("models/addrcheckClassTest.php");
require_once("models/addrClassTest.php");
require_once("models/blogClassTest.php");

require_once("models/blogpicClassTest.php");
require_once("models/bulletinClassTest.php");
require_once("models/cardsClassTest.php");

require_once("models/chkClassTest.php");
require_once("models/ClassComDataTest.php");
require_once("models/ClassTpTest.php");

require_once("models/collectionClassTest.php");
require_once("models/comfunClassTest.php");
require_once("models/companyClassTest.php");

require_once("models/companyClassTest.php");
require_once 'models/companyClassDbTest.php';
require_once 'models/FreeTest.php';

require_once("models/greetClassTest.php");
require_once("models/martClassTest.php");

require_once("models/noteClassTest.php");
require_once("models/orderClassAbstractTest.php");
require_once("models/orderFactoryTest.php");

require_once("models/picClassTest.php");
require_once("models/plogClassTest.php");
require_once("models/tpClassTest.php");

require_once("models/userClassTest.php");
require_once("models/vcardbyuserClassTest.php");
require_once("models/vcardClassTest.php");

//require_once("models/");
require_once("models/order/AllTests.php");


class models_AllTests {
	
	public static function main(){
		PHPUnit_TextUI_TestRunner::run(self::suite());
	}
	
	public static function suite(){
		$suite = new PHPUnit_Framework_TestSuite("postprint - models");
		
//		$suite->addTestSuite("models_addrcheckClassTest");
//		$suite->addTestSuite("models_addrClassTest");
//		$suite->addTestSuite("models_blogClassTest");
//		$suite->addTestSuite("models_blogpicClassTest");
		
//		$suite->addTestSuite("models_bulletinClassTest");
//		$suite->addTestSuite("models_cardsClassTest");
//		$suite->addTestSuite("models_chkClassTest");
//		$suite->addTestSuite("models_ClassComDataTest");
		
//		$suite->addTestSuite("models_ClassTpTest");
//		$suite->addTestSuite("models_collectionClassTest");
//		$suite->addTestSuite("models_comfunClassTest");
		
//		$suite->addTestSuite("models_companyClassTest");
//		$suite->addTestSuite("models_companyClassDbTest");
		
		$suite->addTestSuite("models_FreeTest");
		
//		$suite->addTestSuite("models_greetClassTest");
//		$suite->addTestSuite("models_martClassTest");
		
//		$suite->addTestSuite("models_noteClassTest");
//		$suite->addTestSuite("models_orderClassAbstractTest");
//		$suite->addTestSuite("models_orderFactoryTest");
		
//		$suite->addTestSuite("models_picClassTest");
//		$suite->addTestSuite("models_plogClassTest");
//		$suite->addTestSuite("models_tpClassTest");
		
//		$suite->addTestSuite("models_userClassTest");
//		$suite->addTestSuite("models_vcardbyuserClassTest");
//		$suite->addTestSuite("models_vcardClassTest");
		
		
		
		
		$suite->addTest(models_order_Alltests::suite());
		
		return $suite;
	}
	
}


if (PHPUnit_MAIN_METHOD == "models_AllTests::main") {
	models_AllTests::main();
}